using System.Collections.Generic;

namespace ClientTools.Library.DataTypes.Umbraco.Templates
{
    public class TemplateCollection: List<Template>
    {
        public TemplateCollection() { }
        public TemplateCollection(IEnumerable<umbraco.cms.businesslogic.template.Template> umbracoTemplates)
        {
            foreach (var umbracoTemplate in umbracoTemplates)
                Add(new Template(umbracoTemplate));
        }
    }
}